import React from 'react';
import ReactDOM from 'react-dom';
import Route from './router/'
import registerServiceWorker from './registerServiceWorker';
import './index.css';
import App from './App';

// ReactDOM.render(<App />, document.getElementById('root'));

const render = Component => {
	ReactDOM.render(
		<Component />,
    	document.getElementById('root'),
	);
}

render(Route);

registerServiceWorker();
